<?php

namespace app\controller;

use app\BaseController;
use think\facade\View;

class Chat extends BaseController
{
    public function index(){
//        View::assign('userId',time().rand(1,100));
        return View::fetch('chat/chat',[
            'userId' => time().rand(1,100),
        ]);
    }
}